//shuzi gundong
//数字滚动
var $Really_home_box = $(".Really_home-doc");
var $Really_home_num1 = $(".Really_home-dot1");
var $Really_home_num2 = $(".Really_home-dot2");
var $Really_home_num3 = $(".Really_home-dot3");
$(window).scroll(function (event) {	
    if($Really_home_box.offset().top-$(window).scrollTop()<=500){
        $Really_home_num1.animate({count: 1000}, {
            duration: 1000,    //duration执行多少秒
            step: function() {
                $Really_home_num1.text(String(parseInt(this.count)));
            }
        });
        $Really_home_num2.animate({count: 10}, {
            duration: 1000,
            step: function() {
                $Really_home_num2.text(String(parseInt(this.count)));
            }
        });
        $Really_home_num3.animate({count: 30}, {
            duration: 1000,
            step: function() {
                $Really_home_num3.text(String(parseInt(this.count)));
            }
        });
      
    }
});